#include "sfover.h"
#include "ui_sfover.h"
#include "start.h"

SFOver::SFOver(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SFOver)
{
    ui->setupUi(this);
    this->setWindowTitle("SecondFloor");

    ui->textBrowser->append("在你犹豫的时间里，火车已经撞了过去，你掉了一滴血。。。");
    nextButton = new QPushButton(this);
    nextButton->setGeometry(QRect(200,200,71,61));
    nextButton->setText("继续");
    connect(nextButton,&QPushButton::clicked,this,&Sendslot);
}

SFOver::~SFOver()
{
    delete ui;
}

void SFOver::Sendslot(){
    bloods--;
    emit Mysignal();
}
